import { request } from '@/framework/utils/request-jdz';

// 删除收藏样本
export const delAddMyCollection = (params) => {
  return request(
    {
      url: '/spec/spec/del',
      method: 'delete',
      data: params,
    },
    {
      isGetDataDirectly: false,
    },
  );
};
// 请求收藏样本
export const getMyCollection = (params) => {
  return request(
    {
      url: '/spec/spec/store',
      method: 'get',
      params,
    },
    {
      isGetDataDirectly: false,
    },
  );
};
